    

    <section>
      <ul class="breadcrumb">
        <li><a href="<?php echo base_url('index.php/mainController/'); ?>">Home</a> <span class="divider">/</span></li>
        <li class="active">Role</li>
      </ul>


      <div class="page-header">
        <a class="btn btn-primary pull-right toggle-all" href="<?php echo base_url('index.php/roleController/create'); ?>">เพิ่ม Role</a>
        <h1>รายชื่อ Role</h1>

      </div>

      <table class="table table-striped table-condensed">
        <thead>
          <th>ชื่อ</th>
          <th>รายละเอียด</th>
          <th>ปรับแต่งล่าสุด</th>
          <th>ปรับแต่ง</th>

        </thead>
        <tbody>

          <?php  
            foreach ($resultRole as $row) {
              echo "<tr>";
              echo "<td>".$row['role_name']."</td>";
              echo "<td>".$row['role_description']."</td>";
              echo "<td>".$row['role_modifydate']."</td>";
              echo "<td>".anchor('','แก้ไข')." | ".anchor('','ลบ')."</td>";
              echo "</tr>";
            }
          ?>
          

        </tbody>
      </table>
    </section>
